package com.dong.mq_client;

import okhttp3.OkHttpClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
public class MqClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(MqClientApplication.class, args);
    }

    @Bean
    RestTemplate restTemplate(){
        return new RestTemplate();
    }

    @Bean
    OkHttpClient okHttpClient(){
        return new OkHttpClient();
    }


}
